<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Stamp extends CI_Controller {

	public function Stamp()
	{
		parent::__construct();
		$this->load->model('stamp_model');
	}
	
	public function add_stamp(){
		$stamp_id = $this->input->post("stamp_id");
		$stamp_path = $this->input->post("stamp_path");
		$created_date = $this->input->post("created_date");
		$updated_date = $this->input->post("updated_date");
		
		$stamp_content["stamp_id"] = $stamp_id;
		$stamp_content["stamp_path"] = $stamp_path;
		$stamp_content["created_date"] = $created_date;
		$stamp_content["updated_date"] = $updated_date;
		
		$this->stamp_model->save($stamp_id, $stamp_content);
		
		
	}
}